package edu.ptu.springboot04.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * 购物车(ShoppingCart)实体类
 *
 * @author makejava
 * @since 2025-03-12 22:01:37
 */
@Data
public class ShoppingCart implements Serializable {
    private static final long serialVersionUID = -48378897094205614L;

    @TableId(type = IdType.AUTO)
    private Long shoppingCartId;

    private Long userId;

    private Long productId;

    private Integer num;

}

